package com.cloudkinto.service.platform.vo.wowma;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.*;
import java.util.List;

@XmlRootElement(name = "request")
@XmlAccessorType(XmlAccessType.FIELD)
@NoArgsConstructor
@AllArgsConstructor
@Data
@XmlType(propOrder = {"itemCode", "stockSegment", "stockCount", "stockShippingDayId", "choicesStockHorizontalItemName", "choicesStockHorizontals", "choicesStockVerticalItemName", "choicesStockVerticals", "choicesStocks"})
public class WowmaStockUpdateItemEntity {

    @XmlElement(name = "itemCode")
    @JsonProperty("itemCode")
    private String itemCode;
    //"1:通常在庫2:選択肢別在庫"
    @XmlElement(name = "stockSegment")
    @JsonProperty("stockSegment")
    private String stockSegment;
    //最大5位数
    @XmlElement(name = "stockCount")
    @JsonProperty("stockCount")
    private String stockCount;

    @XmlElement(name = "stockShippingDayId")
    @JsonProperty("stockShippingDayId")
    private String stockShippingDayId;

    @XmlElement(name = "choicesStockHorizontalItemName")
    @JsonProperty("choicesStockHorizontalItemName")
    private String choicesStockHorizontalItemName;

    @XmlElement(name = "choicesStockHorizontals")
    @JsonProperty("choicesStockHorizontals")
    private List<WowmaChoicesStockHorizontal> choicesStockHorizontals;

    @XmlElement(name = "choicesStockVerticalItemName")
    @JsonProperty("choicesStockVerticalItemName")
    private String choicesStockVerticalItemName;

    @XmlElement(name = "choicesStockVerticals")
    @JsonProperty("choicesStockVerticals")
    private List<WowmaChoicesStockVertical> choicesStockVerticals;

    @XmlElement(name = "choicesStocks")
    @JsonProperty("choicesStocks")
    private List<WowmaChoiceStockEntity> choicesStocks;


}
